package com.mode.chain.responsibility;

/**
 * @Description:
 * @Author: zyf
 * @Time: 2020/9/27 16:40
 */
public abstract class Handler {

    protected Handler nextHandler;

    public abstract void handleRequest();

    public Handler getNextHandler() {
        return nextHandler;
    }

    public void setNextHandler(Handler nextHandler) {
        this.nextHandler = nextHandler;
    }
}
